Post

Replies

Boosts

Views

Activity

How to check xcode version in code
I have a piece of code which can be build successfully in xcode 10.x version, but today the code build failed after I grade the xcode to 11.1 version, so I want to see if there's xcode version macro can be used in build phase, like this:#if XCODE_SDK_MAJ_VERSION <11 code line 1 code line 2#else code line 2#endifAny comments?
5
0
10k
Oct ’19
About kext support related on macOS 11
The RN of macOS 11 beta 6 said that "In macOS 11 and later, the kernel doesn’t load a kext if an equivalent System Extension solution exists. You may continue to use kexts in macOS 10.15 and earlier" The equivalent System Extension is so subjective, how to understand the exact meaning of the 'equivalent' here with a little bit objective syntax? IOW: what's the essential indicator of the 'equivalent' between the sysext and kext?
1
0
530
Sep ’20
is there the way to avoid the panic file generation?
Hello,I am wondering if there's kind of way that can be used to avoid the generation of the panic file...The backgroud is we develop a kext and it panics on some machines, but there's no any panic file created in the /Library/Logs/DiagnosticReports folder, interesting we do see the pop up window saying "Your computer encounters issue... More details or Ignore" like this, the panic content will display in the text area of the popup, but no panic file created
5
0
1.7k
Jun ’20
Can a kext link with a static lib file .a?
We have a main kext project(as A for short), also we have another project(B) mostly provide the basic utilitis to the main kext project A. We want to build the B as a static library file B.a, then add the B.a to the A project. But seems it doesn't work: first we can't build the B.a project (it's a kext project as origin). So my question is, for this case, do we need to create a framework from B and use it in A? can a kext link with a static lib file?@eskimo, any comments?
2
0
835
Nov ’19